﻿using Domain.Models;
using GitSyncApp.Models.Enums;
using Quartz;
using System;

namespace GitSyncApp.Models
{
    public class SyncJob
    {
        public JobKey Key { get; set; }
        public Guid Guid { get; set; } = new Guid();
        public GitLibaray SyncGitLibrary { get; set; }
        public SyncJobStatus Status { get; set; } = SyncJobStatus.Deleted;
        public SyncJob(GitLibaray git)
        {
            SyncGitLibrary = git;
            Status = SyncJobStatus.Created;
        }
    }
}
